Repository navigation
Pin Rust 1.99.1 in CI and fix Rust 1.100 lints - #129
Merged
Merged
Conversation
CI uses the latest stable toolchain. Rust 1.100 (2026-11-09) flags a needless_bool in the workflow runs watcher and an unused futures dependency in cyber-collab, which fails clippy -D warnings on main.
Cargo 1.100 builds test binaries under target/<profile>/build/, so tests that locate the sandbox helper next to their executable fail. Pin every workflow to 1.99.1, the last toolchain main passed on, until the helper lookup is reworked for the new layout. Also rewrite executable_file so the Windows build has no needless_bool.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CI and the release workflow installed the latest stable Rust. Rust 1.100, released on 2026-11-09, broke main in two ways:
-D warningsnow fails on main's code. This is theRust (macos-latest)failure on Prepare 0.1.0-beta.2 #128.target/<profile>/build/<crate>/<hash>/out/instead oftarget/<profile>/deps/.cyber_sandbox::find_helperlooks forcyber-sandbox-execat most two directories above the running executable, so tests that need the helper no longer find it. This is theHost bootstrapfailure (focused workflow builds the sandbox helper).Changes
release.yml. This is the toolchain main last passed CI on. All workflows now use the pinned action commit thatrelease.ymlalready used, withtoolchain: 1.99.1. A comment inci.ymlsays why.crates/cyber-cli/src/commands/workflows/runs.rs: return the condition directly (needless_bool).crates/cyber-core/src/intelligence/discovery.rs:executable_fileis split so the Windows build has noneedless_bool.crates/cyber-collab/Cargo.toml: drop the unusedfuturesdependency.The code changes are lint-only and change no behavior. They also keep main clean on 1.100.
Installed binaries are not affected: the helper sits next to
cyberin the release archive. The follow-up to move to 1.100 is to make tests find the helper under the new layout, for example throughCYBER_SANDBOX_HELPERfrom the test harness, rather than widening the production search.Verification
--all-targets -D warningsandcargo fmt --checkare clean.